package method.method1202;

import java.util.Scanner;

public class met0801 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int m = sc.nextInt();
        int n = sc.nextInt();
        int k = sc.nextInt();
        int s = max(m, n, k);
        System.out.println(s);
    }

    public static int max(int a, int b, int c) {
        int m = a > b ? a : b;
        //m = m > c ? m : c;
        return m > c ? m : c;
    }
}
